package com.pinyougou.sellergoods.service;

import com.pinyougou.entity.PageResult;
import com.pinyougou.entity.SpecificationDTO;
import com.pinyougou.pojo.Specification;

import java.util.List;
import java.util.Map;

public interface SpecificationService {
    public List<Specification> findAll();

    public PageResult<Specification> findByPage(Integer pageNum, Integer pageSize);

    void save(SpecificationDTO specificationDTO);

    SpecificationDTO findById(Integer id);

    void update(SpecificationDTO specificationDTO);

    void delete(Integer[] ids);

    PageResult<Specification> findByPage(Specification specification, Integer pageNum, Integer pageSize);

    List<Map<Integer,String>> selectOptions();
}
